home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Paradise in the Skirt
/
Paradise in the Skirt.iso
/
book2.dir
/
00073_Script_aGirl
< prev
next >
Wrap
Text File
|
1994-11-11
|
5KB
|
147 lines
property mySprite, myBaseCast, myRaderCast, myRaderSprite,myBlockList
on birth me, aSprite, aBaseCast, aRaderSprite, aRaderCast, aBlockList
set myBlockList = aBlockList
set mySprite = aSprite
set myRaderCast = aRaderCast
set myRaderSprite = aRaderSprite
set myBaseCast = aBaseCast
set the castnum of sprite mySprite to myBaseCast
puppetSprite mySprite, true
puppetSprite myRaderSprite, true
return me
end
on mMove me
PUT RANDOM(4) INTO DIRECTION
IF DIRECTION = 1 THEN mGirlU
ELSE IF DIRECTION = 2 THEN mGirlD
ELSE IF DIRECTION = 3 THEN mGirlR
ELSE
mGirlL
END IF
end
ON mGIRLU me
SET THE CASTNUM OF SPRITE mySprite TO myBaseCast + 1
SET THE LOCV OF SPRITE myRaderSprite TO THE LOCV OF SPRITE myRaderSprite - 72
UPDATESTAGE
REPEAT WITH SPNO in myBlockList
IF SPRITE myRaderSprite INTERSECTS SPNO THEN
SET THE LOCV OF SPRITE myRaderSprite TO THE LOCV OF SPRITE myRaderSprite + 72
UPDATESTAGE
EXIT
END IF
END REPEAT
IF NOT(SPRITE myRaderSprite WITHIN 3) THEN
SET THE LOCV OF SPRITE myRaderSprite TO THE LOCV OF SPRITE myRaderSprite + 72
UPDATESTAGE
ELSE
SET THE LOCV OF SPRITE mySprite TO THE LOCV OF SPRITE mySprite - 9
UPDATESTAGE
SET THE LOCV OF SPRITE mySprite TO THE LOCV OF SPRITE mySprite - 9
UPDATESTAGE
SET THE LOCV OF SPRITE mySprite TO THE LOCV OF SPRITE mySprite - 9
UPDATESTAGE
SET THE LOCV OF SPRITE mySprite TO THE LOCV OF SPRITE mySprite - 9
UPDATESTAGE
SET THE LOCV OF SPRITE mySprite TO THE LOCV OF SPRITE mySprite - 9
UPDATESTAGE
SET THE LOCV OF SPRITE mySprite TO THE LOCV OF SPRITE mySprite - 9
UPDATESTAGE
SET THE LOCV OF SPRITE mySprite TO THE LOCV OF SPRITE mySprite - 9
UPDATESTAGE
SET THE LOCV OF SPRITE mySprite TO THE LOCV OF SPRITE mySprite - 9
UPDATESTAGE
END IF
END
ON mGirlD me
SET THE CASTNUM OF SPRITE mySprite TO myBaseCast
SET THE LOCV OF SPRITE myRaderSprite TO THE LOCV OF SPRITE myRaderSprite + 72
UPDATESTAGE
REPEAT WITH SPNO in myBlockList
IF SPRITE myRaderSprite INTERSECTS SPNO THEN
SET THE LOCV OF SPRITE myRaderSprite TO THE LOCV OF SPRITE myRaderSprite - 72
UPDATESTAGE
EXIT
END IF
END REPEAT
IF NOT(SPRITE myRaderSprite WITHIN 3) THEN
SET THE LOCV OF SPRITE myRaderSprite TO THE LOCV OF SPRITE myRaderSprite - 72
UPDATESTAGE
ELSE
SET THE LOCV OF SPRITE mySprite TO THE LOCV OF SPRITE mySprite + 9
UPDATESTAGE
SET THE LOCV OF SPRITE mySprite TO THE LOCV OF SPRITE mySprite + 9
UPDATESTAGE
SET THE LOCV OF SPRITE mySprite TO THE LOCV OF SPRITE mySprite + 9
UPDATESTAGE
SET THE LOCV OF SPRITE mySprite TO THE LOCV OF SPRITE mySprite + 9
UPDATESTAGE
SET THE LOCV OF SPRITE mySprite TO THE LOCV OF SPRITE mySprite + 9
UPDATESTAGE
SET THE LOCV OF SPRITE mySprite TO THE LOCV OF SPRITE mySprite + 9
UPDATESTAGE
SET THE LOCV OF SPRITE mySprite TO THE LOCV OF SPRITE mySprite + 9
UPDATESTAGE
SET THE LOCV OF SPRITE mySprite TO THE LOCV OF SPRITE mySprite + 9
UPDATESTAGE
END IF
END
ON mGirlR me
SET THE CASTNUM OF SPRITE mySprite TO myBaseCast + 3
SET THE LOCH OF SPRITE myRaderSprite TO THE LOCH OF SPRITE myRaderSprite + 48
UPDATESTAGE
REPEAT WITH SPNO in myBlockList
IF SPRITE myRaderSprite INTERSECTS SPNO THEN
SET THE LOCH OF SPRITE myRaderSprite TO THE LOCH OF SPRITE myRaderSprite - 48
UPDATESTAGE
EXIT
END IF
END REPEAT
IF NOT(SPRITE myRaderSprite WITHIN 3) THEN
SET THE LOCH OF SPRITE myRaderSprite TO THE LOCH OF SPRITE myRaderSprite - 48
UPDATESTAGE
ELSE
SET THE LOCH OF SPRITE mySprite TO THE LOCH OF SPRITE mySprite + 12
UPDATESTAGE
SET THE LOCH OF SPRITE mySprite TO THE LOCH OF SPRITE mySprite + 12
UPDATESTAGE
SET THE LOCH OF SPRITE mySprite TO THE LOCH OF SPRITE mySprite + 12
UPDATESTAGE
SET THE LOCH OF SPRITE mySprite TO THE LOCH OF SPRITE mySprite + 12
UPDATESTAGE
END IF
END
ON mGirlL me
SET THE CASTNUM OF SPRITE mySprite TO myBaseCast + 2
SET THE LOCH OF SPRITE myRaderSprite TO THE LOCH OF SPRITE myRaderSprite - 48
UPDATESTAGE
REPEAT WITH SPNO in myBlockList
IF SPRITE myRaderSprite INTERSECTS SPNO THEN
SET THE LOCH OF SPRITE myRaderSprite TO THE LOCH OF SPRITE myRaderSprite + 48
UPDATESTAGE
EXIT
END IF
END REPEAT
IF NOT(SPRITE myRaderSprite WITHIN 3) THEN
SET THE LOCH OF SPRITE myRaderSprite TO THE LOCH OF SPRITE myRaderSprite + 48
UPDATESTAGE
ELSE
SET THE LOCH OF SPRITE mySprite TO THE LOCH OF SPRITE mySprite - 12
UPDATESTAGE
SET THE LOCH OF SPRITE mySprite TO THE LOCH OF SPRITE mySprite - 12
UPDATESTAGE
SET THE LOCH OF SPRITE mySprite TO THE LOCH OF SPRITE mySprite - 12
UPDATESTAGE
SET THE LOCH OF SPRITE mySprite TO THE LOCH OF SPRITE mySprite - 12
UPDATESTAGE
END IF
END